package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 机构信息对象 tb_institution
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbInstitution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务机构ID */
    private Long serviceInstitutionId;

    /** 服务机构名称 */
    @Excel(name = "服务机构名称")
    private String serviceOrgName;

    /** 服务机构代码 */
    @Excel(name = "服务机构代码")
    private String serviceOrgCode;

    /** 行政区划代码 */
    @Excel(name = "行政区划代码")
    private String adminDivCode;

    /** 服务机构地址 */
    @Excel(name = "服务机构地址")
    private String serviceOrgAddress;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String responsiblePerson;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String responsiblePhone;

    /** 管理人姓名 */
    @Excel(name = "管理人姓名")
    private String managerName;

    /** 管理人电话 */
    @Excel(name = "管理人电话")
    private String managerPhone;

    /** 服务机构总联系电话 */
    @Excel(name = "服务机构总联系电话")
    private String serviceOrgPhone;

    /** 行政文书送达邮寄地址 */
    @Excel(name = "行政文书送达邮寄地址")
    private String legalDocsAddress;

    /** 服务机构注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务机构注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 状态：1营业中 2暂停营业 等（可扩展） */
    @Excel(name = "状态：1营业中 2暂停营业 等", readConverterExp = "可=扩展")
    private Long status;

    public void setServiceInstitutionId(Long serviceInstitutionId) 
    {
        this.serviceInstitutionId = serviceInstitutionId;
    }

    public Long getServiceInstitutionId() 
    {
        return serviceInstitutionId;
    }

    public void setServiceOrgName(String serviceOrgName) 
    {
        this.serviceOrgName = serviceOrgName;
    }

    public String getServiceOrgName() 
    {
        return serviceOrgName;
    }

    public void setServiceOrgCode(String serviceOrgCode) 
    {
        this.serviceOrgCode = serviceOrgCode;
    }

    public String getServiceOrgCode() 
    {
        return serviceOrgCode;
    }

    public void setAdminDivCode(String adminDivCode) 
    {
        this.adminDivCode = adminDivCode;
    }

    public String getAdminDivCode() 
    {
        return adminDivCode;
    }

    public void setServiceOrgAddress(String serviceOrgAddress) 
    {
        this.serviceOrgAddress = serviceOrgAddress;
    }

    public String getServiceOrgAddress() 
    {
        return serviceOrgAddress;
    }

    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }

    public void setResponsiblePhone(String responsiblePhone) 
    {
        this.responsiblePhone = responsiblePhone;
    }

    public String getResponsiblePhone() 
    {
        return responsiblePhone;
    }

    public void setManagerName(String managerName) 
    {
        this.managerName = managerName;
    }

    public String getManagerName() 
    {
        return managerName;
    }

    public void setManagerPhone(String managerPhone) 
    {
        this.managerPhone = managerPhone;
    }

    public String getManagerPhone() 
    {
        return managerPhone;
    }

    public void setServiceOrgPhone(String serviceOrgPhone) 
    {
        this.serviceOrgPhone = serviceOrgPhone;
    }

    public String getServiceOrgPhone() 
    {
        return serviceOrgPhone;
    }

    public void setLegalDocsAddress(String legalDocsAddress) 
    {
        this.legalDocsAddress = legalDocsAddress;
    }

    public String getLegalDocsAddress() 
    {
        return legalDocsAddress;
    }

    public void setRegisterDate(Date registerDate) 
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate() 
    {
        return registerDate;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serviceInstitutionId", getServiceInstitutionId())
            .append("serviceOrgName", getServiceOrgName())
            .append("serviceOrgCode", getServiceOrgCode())
            .append("adminDivCode", getAdminDivCode())
            .append("serviceOrgAddress", getServiceOrgAddress())
            .append("responsiblePerson", getResponsiblePerson())
            .append("responsiblePhone", getResponsiblePhone())
            .append("managerName", getManagerName())
            .append("managerPhone", getManagerPhone())
            .append("serviceOrgPhone", getServiceOrgPhone())
            .append("legalDocsAddress", getLegalDocsAddress())
            .append("registerDate", getRegisterDate())
            .append("status", getStatus())
            .toString();
    }
}
